how to find the c.f